import 'package:ls_work/net/response/response_data.dart';

class ActivityRecordListBean extends BaseListData {
  String? customerName;
  String? bedNo;
  String? roomNo;
  String? buildingNo;
  String? levelName;
  String? levelCode;
  String? activityName;
  String? joinTime;
  String? activityTypeName;
  String? createdBy;
  String? createdByName;
  int? id;
  int? customerId;
  int? bedId;
  int? roomId;
  int? buildingId;
  int? activityTypeId;
  int? activityId;

  ActivityRecordListBean({this.customerName, this.bedNo, this.roomNo, this.buildingNo, this.levelName, this.levelCode, this.activityName, this.joinTime, this.activityTypeName, this.createdBy, this.createdByName, this.id, this.customerId, this.bedId, this.roomId, this.buildingId, this.activityTypeId, this.activityId});

  ActivityRecordListBean.fromJson(Map<String, dynamic> json) {
    this.customerName = json['customerName'];
    this.bedNo = json['bedNo'];
    this.roomNo = json['roomNo'];
    this.buildingNo = json['buildingNo'];
    this.levelName = json['levelName'];
    this.levelCode = json['levelCode'];
    this.activityName = json['activityName'];
    this.joinTime = json['joinTime'];
    this.activityTypeName = json['activityTypeName'];
    this.createdBy = json['createdBy'];
    this.createdByName = json['createdByName'];
    this.id = json['id'];
    this.customerId = json['customerId'];
    this.bedId = json['bedId'];
    this.roomId = json['roomId'];
    this.buildingId = json['buildingId'];
    this.activityTypeId = json['activityTypeId'];
    this.activityId = json['activityId'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['customerName'] = this.customerName;
    data['bedNo'] = this.bedNo;
    data['roomNo'] = this.roomNo;
    data['buildingNo'] = this.buildingNo;
    data['levelName'] = this.levelName;
    data['levelCode'] = this.levelCode;
    data['activityName'] = this.activityName;
    data['joinTime'] = this.joinTime;
    data['activityTypeName'] = this.activityTypeName;
    data['createdBy'] = this.createdBy;
    data['createdByName'] = this.createdByName;
    data['id'] = this.id;
    data['customerId'] = this.customerId;
    data['bedId'] = this.bedId;
    data['roomId'] = this.roomId;
    data['buildingId'] = this.buildingId;
    data['activityTypeId'] = this.activityTypeId;
    data['activityId'] = this.activityId;
    return data;
  }

}
